import Vue from 'vue'
import App from './App'
import './app.css'
import Toast from './wxcomponents/vant/toast/toast'
import uniNavBar from './components/uni-nav-bar/uni-nav-bar.vue'
import './utils/filter'
import uView from 'uview-ui';
import store from './store'
import loading from './components/xuan-loading/xuan-loading.vue'
import VueIntro from 'vue-introjs';
import 'intro.js/introjs.css';
//把vuex定义成全局组件
Vue.prototype.$store = store
Vue.config.productionTip = false
Vue.component('nav-bar',uniNavBar)
Vue.component('loading',loading)
Vue.use(uView);
Vue.use(VueIntro);
App.mpType = 'app'
Vue.prototype.$toast=Toast
const app = new Vue({
    ...App,
    store
})
app.$mount()
